package org.ym.file.domain.common.model;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

/**
 * 切片文件存储信息
 * @author ym
 */
@Getter
@Builder
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class FileSliceUploadInfo {
    /**
     * 切片存储节点
     */
    private Long nodeId;
    /**
     * 切片存储相对路径
     */
    private String relativePath;
    /**
     * 切片序号
     */
    private int sliceIndex;
    /**
     * 切片大小
     */
    private long sliceSize;
    /**
     * 是否成功
     */
    private boolean isSuccess;
}
